#ifndef UTIL_H
#define UTIL_H

#include <QImage>
#include "opencv/cxcore.h"
#include "opencv/cv.h"

class Util
{
   public:
      static QImage IplImage2QImage( IplImage *iplImg );
      static IplImage *QImage2IplImage( const QImage &image );
      static cv::Mat QImage2Mat(const QImage& image);
};

#endif // UTIL_H
